<style type="text/css">
.error input{ border-color: #F66} 
</style>
    <div class="login_img f_l"><img src="/images/login_img.jpg" width="570" height="350" alt="" /></div>
    <div class="member_login f_r">
    	<div class="login_box">
            <div class="hd bg_x"><h1 class="fs_14 c_666">用户登录</h1></div>
            <div class="bd">
            	<?php
            	//错误提示!
            	if(hasFlash()){
				renderFlash();
				} ?>            	
            <?php $form=$this->beginWidget('CActiveForm', array(
				'id'=>'login-form',
				//'requiredCss'=>'t_ipt',
			    'enableAjaxValidation'=>false,
				'enableClientValidation'=>true,
				'clientOptions'=>array('validateOnSubmit'=>true,'inputContainer'=>'li')
			)); ?>
			
			<ul class="form">				
				<li>
					<?php echo $form->label($model,'zm_name',array('class'=>'tit')); ?>
					<?php echo $form->textField($model,'zm_name',array('class'=>'t_ipt')); ?>
					<?php $form->error($model,'zm_name',array('errorCssClass'=>'error','inputContainer'=>'li')); ?>
				</li>
			
				<li>
					<?php echo $form->label($model,'zm_psword',array('class'=>'tit')); ?>
					<?php echo $form->passwordField($model,'zm_psword',array('class'=>'t_ipt')); ?>
					<?php $form->error($model,'zm_psword',array('errorCssClass'=>'error','inputContainer'=>'li')); ?>
				</li>
			
				<li>
					<?php echo $form->label($model,'verifyCode',array('class'=>'tit')); ?> 
					<?php echo $form->textField($model,'verifyCode',array('class'=>'t_ipt code')); ?> 
					<?php $this->widget('CCaptcha',array('buttonLabel'=>'看不清换一张','clickableImage'=>true,'buttonOptions'=>array('class'=>'c_06c exchange'))); ?>  
					<?php $form->error($model,'verifyCode',array('errorCssClass'=>'error','inputContainer'=>'li')); ?> 
				</li>
			
				<li>
					<span class="tit"><?php echo $form->checkBox($model,'rememberMe'); ?></span>
					<?php echo $form->label($model,'rememberMe',array('class'=>'c_666')); ?>
				</li>
			
				<li>	
					<span class="tit"></span>
					<?php echo CHtml::submitButton('登录',array('class'=>'btn btn_login')); ?>
					<?php echo chtml::link('忘记密码？',Yii::app()->createUrl('home/user/getpass'),array('class'=>'c_06c')); ?>
				</li>
			</ul>
			<p class="reg t_c"><span class="c_999">还不是会员？</span><?php echo chtml::link('免费注册会员','/home/user/registerone'); ?></p>
			<?php echo CHtml::hiddenField('returnUrl', Yii::app()->request->urlReferrer) ?>
			<?php $this->endWidget(); ?>
            </div>
        </div>
        <div><img src="/images/login_bottom.png"></div>
    </div>
